package com.mapper;

import com.pojo.Product;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 30590
 * @description 针对表【tb_product】的数据库操作Mapper
 * @createDate 2024-11-13 16:54:26
 * @Entity com.pojo.Product
 */
public interface ProductMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    Product findProductById(Integer id);

}